home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / X11 / config / QNX4.rules < prev    next >
Text File  |  2006-04-12  |  2KB  |  66 lines

  1. XCOMM platform:  $XFree86: xc/config/cf/QNX4.rules,v 1.1 1999/12/27 00:45:43 robin Exp $
  2.  
  3. XCOMM Rules to work around wlib for QNX...
  4.  
  5. #define LinkFile(tofile, fromfile)                @@\
  6. tofile:: fromfile                        @@\
  7.     $(CP) fromfile tofile                    @@\
  8.                                 @@\
  9. includes:: tofile                        @@\
  10.                                 @@\
  11. depend:: tofile                            @@\
  12.                                 @@\
  13. clean::                                @@\
  14.     RemoveFile(tofile)
  15.  
  16. #define ObjectFromSpecialSource(dst, src, flags)        @@\
  17. NoConfigRec(dst.c)                        @@\
  18.                                 @@\
  19. dst.c: src.c                            @@\
  20.     RemoveFile($@)                        @@\
  21.     $(CP) $? $@                        @@\
  22.                                 @@\
  23. SpecialCObjectRule(dst,NullParameter,flags)            @@\
  24.                                 @@\
  25. includes:: dst.c                        @@\
  26.                                 @@\
  27. depend:: dst.c                            @@\
  28.                                 @@\
  29. clean::                                @@\
  30.     RemoveFile(dst.c)
  31.  
  32.  
  33. #define ObjectFromSpecialAsmSource(dst, src, flags)        @@\
  34. dst.S: src.S                            @@\
  35.     RemoveFile($@)                        @@\
  36.     $(CP) $? $@                        @@\
  37.                                 @@\
  38. dst.o: dst.S                            @@\
  39.     AssembleObject(flags)                    @@\
  40.                                 @@\
  41. dst.i: dst.S                            @@\
  42.     CPPOnlyAsm(dst,flags)                    @@\
  43.                                 @@\
  44. depend:: dst.S                            @@\
  45.                                 @@\
  46. clean::                                @@\
  47.     RemoveFile(dst.S)
  48.  
  49. /* This is the rule to make reloc. OMF objects. We use a little
  50.  * trick which works only for OMF....
  51.  * "catomf" can be downloaded from 
  52.  * http://prdownloads.sourceforge.net/openqnx/catomf.tar.gz
  53.  * or contact Rick Lake <rick@anp.nl>
  54.  */
  55. #define NormalRelocatableTarget(objname,objlist)        @@\
  56. AllTarget(objname.Osuf)                        @@\
  57.                                 @@\
  58. objname.Osuf: objlist $(EXTRALIBRARYDEPS)            @@\
  59.     RemoveFile($@)                        @@\
  60.     /usr/local/bin/catomf -O $@ objlist
  61.  
  62.  
  63.     
  64.  
  65.  
  66.